<?php

namespace App\Events;

use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;

class EntityPrizeCreated
{
    use Dispatchable, InteractsWithSockets, SerializesModels;

    protected $prizeId;
    protected $numberOfBound;

    /**
     * Create a new event instance.
     * @param $prizeId uuid
     * @param  $numberOfBound int
     * @return void
     */
    public function __construct($prizeId, $numberOfBound)
    {
        $this->prizeId = $prizeId;
        $this->numberOfBound = $numberOfBound;
    }

    public function getPrizeId()
    {
        return $this->prizeId;
    }

    public function getNumberOfBound()
    {
        return $this->numberOfBound;
    }

    public function getActivityId()
    {
        return $this->activityId;
    }
}
